package hash;

import hash.MyHashMap;

public class MyHaashMapTest {
    public static void main(String[] args) {
        MyHashMap map=new MyHashMap();
        map.add(1,10);
        map.add(2,20);
        map.add(5,50);
        map.add(4,40);
        System.out.println(map.containskey(5));
        System.out.println(map.containskey(100));
        System.out.println(map.containsvalue(50));
        System.out.println(map.containsvalue(100));
        System.out.println(map.containskeyval(2,20));
        System.out.println(map.containskeyval(2,100));
    }
}
